package com.pandora.credit.mongo.service.impl;

import com.pandora.credit.mongo.dao.MongoShareDao;
import com.pandora.credit.mongo.entity.MongoShare;
import com.pandora.credit.mongo.service.MongoShareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author developer
 */
@Service
public class MongoShareServiceImpl implements MongoShareService {

    @Autowired
    private MongoShareDao mongoShareDao;

    @Override
    public MongoShare queryById(long id) {
        return mongoShareDao.selectById(id);
    }
}
